package com.sun.entities;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import java.math.BigInteger;

/**
 * @Description:
 * @Author hugh.sun
 * @Date 2021/11/18 15:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Fastjson{
    @Id
    @JSONField(name = "ID",ordinal = 1)
    private Long id;
    @JSONField(name = "Name",ordinal = 2)
    private String name;
    @JSONField(name = "Age")
    private Boolean age;
}
